package com.aichongbang.acb.controller;

import com.aichongbang.acb.mapper.CircleMapper;
import com.baomidou.mybatisplus.core.toolkit.Wrappers;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import javax.annotation.Resource;
@RestController
@RequestMapping("/t_circle")
public class CircleController {
    @Resource
    private CircleMapper circleMapper;
    @GetMapping
    public Object circle(){
        //查询所有数据
        return circleMapper.selectList(Wrappers.lambdaQuery());
    }
}
